<?php
namespace helper;

use idea\saf\dl\Dao;

/**
 * AdminDao abstract class file
 * administrator数据库Dao层的父类，封装单表基本SQL操作
 * @author 宋欢 <iphper@yeah.net>
 * @version $Id: AdminDao.php 1 2013-04-05 19:53:06Z huan.song $
 * @package helper
 * @since 1.0
 */
abstract class AdminDao extends Dao
{
	/**
	 * 构造方法：初始化表名和数据库操作类
	 * @param string $tableName
	 */
	public function __construct($tableName)
	{
		$dbProxy = Util::getDbProxy(Constant::DB_CLUSTER_ADMIN);
		parent::__construct($tableName, $dbProxy);
	}
}
